<template>
	<view>
		<uni-popup ref="popup" type="bottom" :animation="true" @change="change">
			<view  class="popup_content" >
				<view class="popup_search">
					<view class="search">
						<view class="icon_search"><uni-icons :type="icons[0].type" color="#333333" :size="icons[0].size" /></view>
						<view class="search_input">
							<input v-model="params.search_info" @input="searchInfo" placeholder-style="font-size:26rpx" placeholder="关键字搜索" value="" />
						</view>
						<view class="icon_search"></view>
					</view>
					<view class="seach_info" @click="searchInfo">搜索</view>
				</view>	
							
				<view class="popup_box_list">
					<scroll-view  class="scroll-view_H" :style="'height:'+scrollHeight"  scroll-y="true" scroll-left="0">
						<view v-for="(item,index) in dataList" :key="index"  class="scroll-view-item_H" >
							<view class="popup_list_item">
								<view style="overflow: hidden; width: 100%;">
									<view class="item_left_top">
										<view class="item_title">{{item.deliver_code}}</view>
									</view>
								</view>
								<view style="overflow: hidden; width: 100%;">
									<view class="item_left">
										
										<view class="item_left_bottom">
											
											<view class="left_bottom_box">
												管易订单号：{{item.cerp_code}}
											</view>
											
											<view class="left_bottom_box">
												管易发货单号：{{item.deliver_code}}
											</view>
											
											<view class="left_bottom_box">
												物流单号：{{item.mail_no}}
											</view>
											
											<view class="left_bottom_box">
												发货仓库：{{item.warehouse_name}}
											</view>
											
											<view class="left_bottom_box">
												物流公司：{{item.express_name}}
											</view>
											
											
											<view class="left_bottom_box">
												发货日期：{{item.create_date}}
											</view>
											
		
										</view>
									</view>
									
									<view class="item_right">
										<uni-icons v-if="selectList.indexOf(item.code)>-1" :type="icons[3].type" color="#910a15" :size="icons[3].size" />
									</view>
								</view>
							</view>
						</view>
					</scroll-view>
				</view>	
				
				<view class="confirm_box">
					<view style="margin:auto;margin-top: 20rpx; margin-bottom: 20rpx; width: 300rpx; ">
						<button type="default" class="button"  size="mini" style="width:100%;background-color: #910a15;color: #fff; font-size: 30rpx;" @click="confirmSelect()">点击确认</button>				
					</view>
				</view>
			</view>
			
		</uni-popup>
	</view>
</template>
<script>

</script>





<script>
	import {index} from './deliver-list-popup.js';
	export default {name: 'createOrderPopup',mixins: [index]}
</script>




<style>
	@import 'deliver-list-popup.css';
</style>
